Fluid flow compensating method and system

ABSTRACT

A method and apparatus for generating an output signal selectively displaced in phase from an input signal wherein the phase displacement remains the same irrespective of changes in the input signal frequency. A reference signal related in amplitude to the frequency of the input signal and a comparing signal which varies at a predetermined rate for a period of time related to the frequency of the input signal are compared, and a pulse is generated in response to the comparison. More specifically, a capacitor is charged and discharged from alternately enabled positive and negative constant current sources during successive interpulse periods of the input signal. The voltage on the capacitor is stored at the end of each charging period and the varying voltage across the capacitor is compared with one or more percentages of the stored voltage to generate output pulses. The output pulses may be combined with the input signal to provide frequency multiplication or the percentage may be made variable to provide variable phase shifting. A system for increasing the resolution of measurements obtained from a digital transducer and a system for generating selectively phase shifted control signals are also disclosed.

United States Patent [1 1 Gass et al.

[ Nov. 27, 1973 [54] FLUID FLOW COMPENSATING METHOD AND SYSTEM Inventors: Edward W. Gass; Fred W.

Paramore, both of Duncan, Olda.

[73] Assignee: Halliburton Company, Duncan,

Okla 7 Filed: June 15, 1972 Appl. No.: 263,209

Related US. Application Data Primary Examiner-Charles A. Ruehl Att0rneyL. Lawton Rogers, HI

ABSTRACT A method and apparatus for generating an output signal selectively displaced in phase from an input signal wherein the phase displacement remains the same irrespective of changes in the input signal frequency. A reference signal related in amplitude to the frequency of the input signal and a comparing signal which varies at a predetermined rate for a period of time related to the frequency of the input signal are compared, and a pulse is generated in response to the comparison. More specifically, a capacitor is charged and discharged from alternately enabled positive and negative constant current sources during successive interpulse periods of the input signal. The voltage on the capacitor is stored at the end of each charging period and the varying voltage across the capacitor is compared with one or more percentages of the stored voltage to generate output pulses. The output pulses may be combined with the input signal to provide frequency multiplication or the percentage may be made variable to provide variable phase shifting. A system for increasing the resolution of measurements obtained from a digital transducer and asystem for generating selectively phase shifted control signals are also disclosed.

9 Claims, 7 Drawing Figures l2 (B1 1? (E) (A) INDICATOR 24 0 l6 V r MULTIPLIER MULTIPLIEi? (E) NET H0 23 on d(D) L (F) ANALYZER PATENIEDnnvv I975 $774 sum 1 c; a

- I HOE (B) k (E) INDICATOR fie (A) V 24 0 I6 1 20 (E) 23 n l ET MULTIPLIERI MUL PL ER 2| *6 (D) i (F) ANALYZER mm NH;

(81 IIHIIIHWHHIHIUWIHHHWWIHHHIHIIH Nil-MW! I 1 11mm T 1 f a I i'lmuuw ummmnm m a mummm x L m mm M T umnnn WIFWHH mm FLUID FLOW COMPENSATING METHOD AND SYSTEM This is a division of application Ser. No. 152,188, filed June 11, 1971, now US. Pat. No. 3,743,946.

BACKGROUND. OF THE INVENTION The present invention relates to a method and apparatus for generating a periodic signal having a predetermined relationship with an input signal, and specifically, to a method and apparatus for generating pulses in a predetermined time relationship with the pulses in a series of pulses for frequency multiplication or phase shifting purposes.

It is often desirable to increase the repetition frequency of a periodic signal such as a sine wave or a series of pulses, particularly where the repetition frequency of the signal represents a sensed condition and a high degree of resolution is desired. For example, the flow of fluid through a conduit may be monitored by a turbine flowmeter which generates a series of pulses related in number to the volume of fluid flowing through the conduit. Each flowmeter is physically designed so that each pulse generated by the flowmeter represents a predetermined volume of fluid flowing through the flowmeter. This relationship between the fluid volume and the number of pulses generated by the flowmeter is called the meter factor of the flowmeter and is usually expressed in terms of pulses per gallon.

The resolution of any measurements obtained utilizing the output signal from a transducer of this type may not be affected to a great degree by the meter factor as long as the measurement is related to the absolute sum of the number of pulses generated by the transducer. However, where the signal from thetransducer is either used as a gating signal or is itself gated by another signal to obtain a measurement of the sensed condition, the resolution of the measurement may vary significantly with the meter factor of the transducer.

For example, if the meter factor of the transducer is one pulse per gallon, the only one pulse is generated and counted: during a selected time period, the actual volume flowing through the flowmeter during the selected time period may be anywhere from a nominal volume to slightly less than 2 full gallons. If the meter factor is increased to 100 pulses per gallon and 100 pulses are generated and counted over the same selected time period, the' actual volume of fluid flowing through the flowmeter during the selected time period may be anywhere from 0.99 to 1.01 gallons. It can be seen from the above that by increasing the meter factor of a transducer such as a turbine flowmeter, the resolution of measurements obtained utilizing the transducer output signal may be significantly increased.

However, as was previousy mentioned, the meter fac-' tor of a particular transducer may be a function of the physical design of the transducer. It may therefore be impractical to change the meter factor of the transducer, particularly a transducer already in service. One solution to this problem is to multiply the repetition frequency of the output signal from the transducer by a constant, thereby effectively multiplying the meter factor of the transducer by the same constant. For this technique to be effective, the multiplier must be capable of multiplyingya signal which varies in frequency with the condition sensed. In addition, the period of the resultant multiplied signal must be substantially linearly related to the period of the transducer output signal. In other words, the time period between successive pulses of the transducer output signal may vary. However, in spite of this variation the multiplier must be able to symmetrically add the same number of pulses between adjacent pulses of the transducer signal. Moreover, to provide the versatility which may be required in condition monitoring systems, the multiplication factor of the multiplier should be readily variable over a wide range of even or odd integral values.

It is accordingly an object of the present invention to provide a novel method and apparatus for increasing the repetition frequency of a periodic signal.

It is another object of the present invention to provide a novel method and apparatus for increasing the repetition frequency of a periodic signal which varies in frequency in an unpredictable manner.

It is yet another object of the present invention to provide a novel method and apparatus for linearly adding pulses between adjacent pulses of a signal which is repetitive but variable in the rate of repetition.

It is a further object of the present invention to increase the resolution of measurements obtained from a condition responsive transducer by effectively increasing the meter factor thereof.

An increase in the repetition frequency may also be desirable where the signal is gated to recording means. For example, as in US. Pat. No. 3,566,685, issued Mar. 2,. l97l, to Zimmerman et al., and assigned to the assignee of the present invention, the signal from a condition responsive transducer may be gated by another signal to provide a measurement of a condition. By increasing the gating or sampling rate of the signal from the condition responsive transducer and/or by increasing the repetition frequency of the gated signal, the resolution of the measurement may be increased as will hereinafter be described.

It is therefore still another object of the present invention to provide a novel method and apparatus for measuring fluid characteristics with increased accuracy.

It is still a further object of the present invention to provide a novel method and apparatus for linearly increasing the repetition frequency of one or both of the signals applied to a net oil analyzer to thereby increase the accuracy of the measurements obtained therefrom.

Another desirable application of the present invention is for the generation of a signal which is phase shifted or displaced with respect to an input signal by a selectable percentage of the period of the input signal wherein the percentage remains substantially constant regardless of changes in the frequency of the input signal. For example, a position sensor on a rotating member may provide an output pulse each time the member passes a certain position. It may be desirable to provide an output signal shifted in phase (one-fourth revolution) from the position sensor output pulse to perform some function which must occur at that position of the rotating member.

Asimple fixed delay can be used to obtain this phase relationship where the speed of rotation of the member is always constant. However, if the rotational speed changes and the delay, remains fixed, the phase relationship between the signal from the position sensor and the desired output signal varies.

It is therefore yet a further object of the present invention to provide a novel method and apparatus for generating an output signal shifted in phase with respect to an input signal by a constant number of degrees irrespective of changes in frequency.

Yet another desirable application of the present invention is for the generation of a plurality of signals each selectively displaced in phase from a periodic input signal. For example, in machine control applications, a control cycle comprising several control functions may successively occur at different times in each cycle.

This may be accomplished by selecting a predetermined position of a moving member of the machine and keying the several control functions to the sensing of this position by delaying the output signal from a position sensor by different fixed amounts. Once again, if the speed of the moving member varies, the phase relationship of the delayed signals varies with respect to the position sensor output signal.

It is therefore still another object of the present invention to provide a novel method and apparatus for generating a plurality of signals, each selectively displaced in phase from a periodic input signal.

These and other objects and advantages of the present invention will become apparent to one skilled in the art to which the invention pertains from a perusal of the following detailed description when read in conjunction with the appended drawings.

THE DRAWINGS FIG. 1 is a functional block diagram of a metering system embodying the present invention;

FIG. 2 is a graphical representation of various exemplary waveforms of the system of FIG. 1;

FIG. 3 is a functional block diagram of the multiplier of FIG. 1;

FIG. 4 is a graphical representation of various exemplary waveforms of the multiplier of FIG. 3;

FIG. 5 is a functional block diagram of a variable phase shifter embodying the principles of the present invention;

FIG. 6 is a functional block diagram of a variable phase shift, control signal generator embodying the principles of the present invention; and,

FIG. 7 is a graphical representation of various exemplary waveforms of the circuits of FIGS. 5 and 6.

DETAILED DESCRIPTION A number of applications of the present invention are described hereinafter in connection with the appended drawings. In one application, the present invention is utilized to increase or multiply the frequency of a variable frequency periodic signal, particularly where increased resolution of a measurement obtained from a condition responsive transducer is desired. In another application, the present invention is utilized as a phase shift circuit to provide a constant phase relationship between an input signal and an output signal irrespective of changes in the frequency of the input signal. In a further application of the present invention, a desired number of signals having selectable phase relationships relative to a position responsive input signal may be generated to provide control signals at selected times in a control cycle.

Frequency Multiplier Referring to FIG. 1 wherein a system embodying the present invention is illustrated, transducers 10 and 12 may be provided in a conduit 14 for monitoring various conditions of a fluid such as oil flowing through the conduit. The transducer 10 may be, for example, a turbine flowmeter of the type disclosed and claimed in U.S. Pat. NO. 3,164,020 to Edward Groner et al. and assigned to the assignee of the present invention. The flowmeter provides a pulsed output signal in which the pulses are related in repetition frequency to the flow of fluid through the conduit. For example, the flowmeter 10 may generate a predetermined number of pulses for each gallon of fluid flowing therethrough. The transducer 12 may be a capacitive probe of the type disclosed and claimed in U.S. Pat. No. 3,523,245, to R. G. Love et al. and assigned to the assignee of the present invention. In the referenced Love et al. probe, the frequency of the output signal from an oscillator is related to the constituency, i.e., the dielectric constant or oil/- water ratio, of the fluid flowing through the conduit 14. For example, the condition responsive transducer 12 may generate a signal having a frequency of 1,000 Hz. for a 50 percent mixture of oil and water.

The output signal from the flowmeter 10 may be applied through a multiplier 16 to both an indicator l8 and to one input terminal 21 of a net oil analyzer 20. The output signal from the transducer 12 may be applied to a second input terminal 22 of the net oil analyzer 20 via a second multiplier 24. The indicator 18 may be any suitable conventional gross fluid or flow rate indicator and the net oil analyzer 20 may be of the type described and claimed in Zimmerman et al. U.S. Pat. No. 3,566,685, issued Mar. 2, 1971, and assigned to the assignee of the present invention. The disclosure of the Zimmerman et al. patent is hereby incorporated herein by reference.

Assuming that the multipliers 16 and 24 are omitted from the circuit of FIG. 1, or that the multiplication factors thereof are both equal to one, the output signals from the flowmeter l0 and the condition responsive transducer 12 may be as illustrated in waveform (A) and (B), respectively, of FIG. 2, after shaping in a conventional circuit (not shown).

As described in the above referenced Zimmerman et al. patent, the net oil analyzer 20 utilizes the flowmeter 10 output signal to generate gating signals having a time duration 8 as is illustrated in waveform (C) of FIG. 2. These gating signals are utilized to gate the signal from the transducer 12 to an output terminal 23 thereby providing packets of pulses as shown in waveform (D in which the number of packets is related to fluid flow and the number of pulses in each packet is related to a condition of the fluid.

Since the net oil measurement is related to the number of pulses in each packet of pulses, and since the number may vary rapidly as the constituency of the fluid varies, the resolution and resultant accuracy of the net oil measurement may be increased in two ways. First, as is shown respectively in FIG. 2 by waveforms (E) and (D the repetition frequency of the flowmeter 10 output signal may be increased by utilizing the multiplier 16 of FIG. 1 and making the multiplication factor thereof greater than one. One or more pulses may then be added intermediate the adjacent flowmeter output pulses. This pulse addition or frequency multiplication increases the rate at which the signal from the condition responsive transducer 12 is sampled, thereby providing a greater number of packets of pulses for a given fluid flow and a more accurate indication of the net oil.

making the multiplication factor thereof greater than one. This frequency multiplication increases the number of pulses in eachpacket of pulses thereby increasing the resolution of each of the packets of pulses (waveform D and increasing the accuracy of these net oil measurements. Thus, increased accuracy may be obtained by employing either or both of the multipliers 16 and 24 of FIG. 1. When both of the multipliers are utilized, both the number of packets and the number of pulses in each packet may be increased as illustrated in waveform (D One of the multipliers. l6 and 24 of the present invention is illustrated in greater detail in FIG. 3 to facilitate an understanding of the present invention. Referring nal of a monostable'orone shot multivibrator 36, and

to the input terminal37 ofia suitable conventionalpositive constant current source 38. The false or 6 output terminal of the flip flop 32 is connected to the trigger input terminals of monostable or one shot multivibrators 40 and 42 and to the input terminal-43 of a suitable conventional negative constant current source 44. The current sources 38 and 44 are desirably identical except for the difference in the polarity of the output currents therefrom.

The output terminals 45 and 47, respectively, of the current sources 38 and 44 are connectedtogether and to an input terminal 46 of a suitable conventional sampleand hold circuit 48. The input terminal 46 of the sample and hold circuit 48 is grounded through a capacitor 50 and is also connected to one input terminal 52-55 respectively of a plurality of suitable conventional voltage comparators56-59.

The output terminal 61 of the sample and hold circuit 48 maybe grounded through a plurality of substantially identical, series connected resistors 60-68 which form a voltage divider network. The resistor 60-resistor 62 junction is connected to a second input terminal of the comparator 52, the resistor 62-resistor 64 junction is connected to a second input terminal of the comparator 54, the resistor 64-resistor 66 junction is connected to a second input terminal of the comparator 56, andthe resistor 66-resistor 68 junction is connected to' a second input terminal of the comparator 58. The output signals from the comparators 56-59 are applied, respectively, to the trigger input terminalof an associated monostable'or one shot multivibrators 70-76 and the true outputterminals of the one shot multivibrators 70-76 are connected to respective input terminals of a six input terminal OR gate 78 where output terminal 79 may be the output terminal of the multiplier.

The true output terminal of the one shot multivibrators 34 and 40 are also connected to respective input terminals of the OR gate 78. The true output terminal of the one shot multivibrator 36 is connected to the base electrode of a ground emitter NPN transistor 80, the collector electrode of which is connected to the sample input terminal 46 of the sample and hold circuit 48. The true output terminal of the one shot multivibrator 42 is applied to the strobe input terminal 82 of the sample and hold circuit 48.

The operation of the circuit of FIG. 3 may be more easily understood by referring to the typical circuit waveforms shown in FIG. 4. Referring now to FIGS. 3 and 4, the output signal from the transducer such as the flowmeter of FIG. 1 (waveform A of FIG. 4) is applied to a shaping amplifier 30 which shapes the positive portion of the transducer output signal to provide a series of binary pulses asshown in waveform (B). The

flipflop 32 is set and reset by consecutive pulses from the shaping amplifier 30 thereby generating the signal illustratedin waveform (C) of FIG. 4' at the true output terminal of the flipflop and the complementary signal (not shown) at the false output terminal thereof. The binary ONE output signal from the true output terminal of the flipflop 32 is utilized to trigger the one shot multivibrator 34 which in turn generates a pulse passed through the OR gate 78 as the pulse 84 in waveform (E) of FIG. 4.

The binary ONE output signal from the true output terminal of the flipflop 32 (waveform C) is also utilized to trigger the one shot multivibrator 36 and the resultant output pulse therefrom utilized to trigger the transistor into conduction for a period of time sufficient to discharge the capacitor 50.

The current source 38 is turned on by the binary ONE signal from the true output terminal'of the flip flop 32 and the capacitor 50 charges from the source 38 at a substantially linear rate for the duration of this binary ONE signal, i.e., for the period of the pulses indicated at 85 in waveform (C) of FIG. 4. Since the current source 38 is a constant current source, the charge on the capacitor 50 will always increase at the same linear rate and the voltage across the capacitor 50 will be directly related to the period of time during which the current source is conducting.

At the end of one cycle or period of the signal of waveform (B), the flipflop 32 is reset to trigger the one shot multivibrator 40. The one shot multivibrator 40 generates an output pulse which is passed by the OR gate 78 as the pulse 86 of waveform (E). The binary ONE output signal from the false output terminal of the flipflop 32 also triggers the one shot multivibrator 42 applying a strobe pulse to the sample and hold circuit 48 thereby causing the sample and hold circuit 48 to store the value of the voltage then present on the capacitor 50.

The porn'on of waveform (E) of FIG. 4 described above illustrates the signal at the output terminal 79 of the multiplier (i.e., the output terminal of the OR gate 78) assuming that the first pulse in waveform (A) is the initial pulse generated by the transducer and therefore the first multiplier input pulse. There will be no pulses between the pulses 84 and 86 of waveform (E) during this first cycle of the multiplier input signal (waveform A) since the sample and hold circuit has no stored reference voltage to apply to the comparators 56-59.

With continued reference to FIGS. 3 and 4, the binary ONE output signal from the false output terminal of the flipflop 32 also triggers the negative current source 44 into conduction causing the capacitor 50 to discharge at the same linear rate as the capacitor was charged. The stored value of sampled output voltage from the terminal 61 of the sample and hold circuit 48 is applied across the voltage divider network comprising the resistors 60-68 and the voltages then applied to the comparators 56-59 from the voltage divider network are substantially equal, incremental percentages of the stored or sampled voltage. For exmaple, if the sampled voltage on the terminal 61 is 10 volts, the voltage applied to the reference input terminal of each of the comparators 56-59 would be, respectively, 2, 4, 6 and 8 volts, Le, 20 percent, 40 percent, 60 percent and 80 percent of the sampled voltage.

Since the resistors 60 68 are equal in value, these percentages of the stored reference voltage applied to the comparators 56 59 from the resistor junctions differ from each other by an integral multiple of (l/N+l) percent where N is the number of comparators and is also the number of pulses added between adjacent input pulses as will subsequently be described. This relationship may be expressed generally by the following equation:

percent M (l/N+ l) (100) WhereM=l,2,...,N.

The position of the comparator relative to the resistors 60 68 in the voltage divider network, i. e., the resistor junction from which the percentage of the reference voltage is applied to the comparator, determines the value of M in equation (1). For example, the percentage of the sampled voltage applied to the comparator 56 of FIG. 3 is:

M (I/N+ l) (100) percent=(l) (H) (100) percent Likewise, the percentage of the stored reference voltage applied to the comparator 59 is:

M (1/N+ l) (100) percent (4) (H5) (100) 80 percent While the percentages of the sampled reference voltage differ for each comparator, each percentage is always the same for a particular comparator as long as N remains the same. However, the reference voltage varies in amplitude as a function of the repetition frequency of the input signal to the multiplier circuit. This reference voltage V may be expressed as:

V =K T where K is a constant equal to the value I of the current from the current source 38 divided by the value C of the capacitor 50, i. e., K I/C, and where T is the per iod of the input signal applied to the multiplier (see waveform (A), of FIG. 4).

Thus, integral multiples of a constant percentage of the stored reference voltage V of equation (4) are applied to the reference input terminal of each of the comparators 56 59. Each reference voltage applied to the comparators 56 59 may be generally expressed as: v

As the capacitor 50 discharges due to the enabling of the negative current source 44, the voltage across the capacitor 50 decreases linearly as illustrated in waveform (D) of FIG. 4. This voltage V across the capacitor 50 during this discharge cycle may be expressed in terms of time t by:

where V, is the initial capacitor voltage and where t varies from 0 to T.

As this decreasing capacitor voltage passes each of the reference voltages applied to the comparators 59, 58, 57, and 56 in that order, the comparators trigger the associated one shot multivibrator 76 70, to generating an output pulse passed through the OR gate 78 as the pulses 88, 90, 92, and 94 respectively of waveform (E) of FIG. 4. The setting of the flipflop 32 by the next positive pulse of the input signal (waveform (A)) will trigger the one shot multivibrator 34 to generating the second 84in waveform (E). The binary ONE output signal from the time output terminal of the flipflop 32 will also trigger the one shot multivibrator 36 to insure the complete discharge of the capacitor 50 and will enable the current source 38. The capacitor 50 then charges again and the voltage V applied to the comparitors from the capacitor 50 may be expressed as a function of time t as:

V 2 V +Kt=Kt The voltage V applied to the comparators may therefore be expressed generally for the charging and discharging cycles of the capacitor 50 as:

V3 V i Kt The reference voltage V stored by the sample and hold circuit 48 is always related in amplitude to the period of the input signal, and the linearly increasing and decreasing voltage V developed across the capacitor 50 with which this reference voltage V is compared is related in the same manner to the period of the input signal. The pulses 88 94 of waveform (E) of FIG. 4 are therefore linearly or symmetrically arranged be tween the pulses 86 and 84 which correspond in time to the positive excursions of the original input signal. The pulses 96 102 shown in phantom in waveform (E) are similarly symmetrically arranged between the pulses 84 and 86 and illustrate the output signal from the multiplier during the next cycle as the charge on the capacitor 50 increases to coincidence with the reference voltages V,

Another example of the operation of the multiplier circuit of the present invention is illustrated in waveforms (F) through (J) of FIG. 4. The input signal applied to the shaping amplifier 30 (a sinusoidal signal as shown in waveform F) may be shaped or illustrated in waveform (G) and applied to the flipflop 32. The binary ONE output signals from flipflop 32 again cause the capacitor 50 to charge the discharge at the same rate (Kt) as with the previously described input signal. Since the period of the input signal of waveform (F) is shorter than that of waveform (A), the capacitor 50 charges to a lesser voltage than in the previous example. However, since the stored reference voltage V from-the sample and hold circuit 48 and the linearly varying voltage V on the capacitor 50 are both related in the same manner to the input signal, the same numberof symmetrically spaced pulses are added between the positive pulses of the input signal.

The triggering of the transistor 80 into conduction prior to the commencement of each capacitor charging cycle insures that the capacitor 50 charges from the same initial point each time.'Moreover, by making the period of the one shot multivitrators 34, 40 and 7076 very short, the multiplier of FIG. v3 can operate at very high frequencies without any pulse overlap.

To further insure v that there is no pulse loss due to overlap when the capacitor 50 is discharged by the triggering of the transistor 80, a current limiting resistor (not shown) may be placed in series with the collector or emitter electrode of the transistor. This resistor prevents the capacitor 50. from discharging instantenously thereby allowing more than one pulse to be generated during this discharge period if, for example, the capacitor 50 voltage is greater than the voltage V at the time the transistor 80 is triggered.

Variable Phase Shifter Another embodiment of the present invention as utilized to obtain a desired phase shift of a variable frequency input signal is illustrated in the functional block diagram of FIG. 5.

Referring now to FIG. 5, the output signal from a magnetic or other suitable conventional position sensor 104 connected to a moving member such as a rotating shaft 106 may be applied through the shaping amplifier 30 to the trigger input terminal of the J-K flipflop 32.

The true output terminal of the flipflop 32- is connected to the trigger input terminal of the multivibrator 3 6 and to the input terminal 37 of the positive constant current source 38. The false output terminal of the flip flop 32 is connected to the trigger input terminal of the one shot multivibrator 42 andto the input terminal-43 of the negative constant current source 44.

The output terminals 45 and 47, respectively, of the current sources 38 and 44 are connected together and to the input terminal 46 of the sample and hold circuit 48. The input terminal 46 of the sample and hold circuit 48 is grounded through the capacitor 50 and is also connected to the comparing input terminals 108and 109 of two suitable conventional Schmitt trigger circuits or other conventional voltage comparators 110 and l 12 of the type which provide an output signal having a high signal level as long as the amplitude of the signal applied to the comparing input terminal exceeds the amplitude of the signal applied to the reference" input terminal.

The output terminal 61 of the sample and hold circuit 48 may be grounded through two parallelconnected potentiometers 114 and 116 and the pickoff arms of the potentiometers 114 and 116 may be connected, respectively, to thereference input terminals 118 and 120 of the comparators 110 and 112. The output signal from the comparator 110 is applied to the trigger input terminal of a conventional monostable or one shot multivibrator 122 which is triggerable. by the negative going or leading edge of a pulse. The output signal from the true output terminal of the one shot multivibrator 122 is applied to one output input terminal of a two input terminal OR gate 124 and the output signal from the OR gate 124 is applied to an output terminal 126.

The output signal from the comparator 1 12 is applied to the trigger input terminal of a conventional monostable or one shot multivibrator 128 which is triggerable by the positive going or leading edge of a pulse. The output signal from the true output terminal of the one shot multivibrator 128 is applied to a second input terminal of the OR gate 124.

The true output terminal of the one shot multivibrator 36 is connected to the base electrode of the ground emitter NPN transistor 80, the collector electrode of which is connected to the sample input terminal 46 of the sample and hold circuit 48. The true output terminal of the one shot multivibrator 42 is applied to the strobe input terminal 82 of the sample and hold circuit 48.

As was discussed in connection with the circuit of FIG. 3, the reference voltage V related in amplitude to the period of the input signal (waveform A of FIG. 7) is provided at the output terminal 61 of the sample and hold circuit 48 and the increasing and decreasing comparing voltage V (waveform B of FIG. 7) developed across the capacitor is provided at the input tenninals 108 and 109 of the comparators 110 and 112.

The reference voltage V is applied across the potentiometers 114 and 116 and any desired percentages of this voltage (V,'., and V may be selected by positioning the arms of the potentiometers. For example, by positioning the arms of the respective potentiometers 116 and 114 approximately one quarter and three quarters of the way up from the grounded ends thereof, approximately 25 percent of the reference voltage V is applied to the input terminal 120 of the comparator 112 and approximately 75 percent of the reference voltage V is applied to the input terminal 118 of the comparator When the voltage applied to the input terminal 109 of the comparator 112 is approximately equal to 25 percent of V i. e., is equal to the reference voltage V,.,, the comparator 112 output signal (waveform C of FIG. 7) assumes a high signal level and remains high until the capacitor 50 discharges below the amplitude of V The multivibrator 128 is triggered by the positive going as leading edge of the comparator 112 output signal providing an output pulse (waveform E of FIG. 7) at the true output terminal thereof which is phase shifted approximately 90 with respect to the input signal.

The output signal from comparator 110 (waveform D of FIG. 6) switches to a high signal level when the voltage developed across the capacitor 50 and applied to the input terminal 108 of the comparator 110 is approximately percent of the reference voltage V i.e., is equal to the reference voltage V The comparator 1 10 output signal then switches back to a low signal level at this same 75 percent point during the discharge cycle of the capacitor 50. The trailing or negative going edge of the comparator 110 output signal of waveform D triggers the multivibrator 112 generating an output pulse (waveform F of FIG. 7).

The pulses generated by the multivibrator 128 occur or one-fourth cycle after every other input pulse. The pulses generated by the multivibrator 122 occur 90 or one-fourth cycle after the remaining, intermediate input pulses. By combining the signals from the multivibrators 122 and 128 with the OR gate 124, the output signal at the output terminal 126 (waveform G of FIG. 7) is a series of pulses which are phase shifted with respect to the input signal by 90.

Since the voltage V and V are both related in amplitude to the period of the input signal, the phase relationship between the signal generated by the position sensor 104 and the signals at the output terminals of the multivibrators 128 and 122 will always remain substantially the same irrespective of changes in the frequency of the input signal. In the above example, the output signal will always be delayed or lag the input signal by approximately 90 or one quarter of a cycle where one cycle of the input signal represents 360 or one complete revolution of the rotating shaft 106.

Selectable Phase Control Signal Generator It may also be desirable to control several operations of a machine at selectable intervals after some moving member of the machine has reached a predetermined position. For example, each revolution of the shaft 106 of FIG. may represent one control cycle of a machine. Control pulses may be required, by way of example, to effect two or more different control functions exactly 90 and 270 after a pulse is generated by the position sensor 104. Q I

A circuit for generating a plurality of signals each selectively displaced in phase from an input signal is illustrated in FIG. 6. Referring now to FIG. 6, the reference voltage V generated as was previously described is provided at the output terminal 61 of the sample and hold circuit 48 (FIG. 5). The linearly varying comparing voltage V developed across the capacitor 50 (FIG. 5) is provided at the terminal 46.

The reference voltage V is applied across the parallel connected potentiometers 114 and 116 and the pickoff arms of the potentiometers 114 and 116 are connected to the respective input terminals 118 and 120 of the comparators 110 and 112 as was previously described. The comparing voltage V (waveform B of FIG. 7) is applied to the input terminals 108 and 109 of the comparators 110 and 112, respectively.

The output signal from the comparator 112 (waveform C of FIG. 7) is applied to the trigger input terminal of the one shot multivibrator or 128 previously described and to the trigger input terminal of a suitable conventional one shot multivibrator 130 which is triggerable by the negative going or trailing edge of an applied pulse. The output signal from the comparator 1 (waveform D of FIG. 7) is applied to the trigger input terminal of the one shot multivibrator 122 previously described and to the trigger input terminal of a suitable conventional one shot multivibrator 132 which is triggerable by the positive going or leading edge of an applied pulse.

The output signals from the true output terminal of the multivibrators 122 and 128 (waveforms F and E, respectively, of FIG. 7) are applied to the two input terminals of the OR gate 124 and the output signal from the OR gate 124 (waveform G of FIG. 6) is provided at the output terminal 126 as previously described in connection with FIG. 5. The output signals from the true output terminals of the multivibrators 132 and 130 (waveforms H and 1, respectively, of FIG. 7) are applied to the two input terminals of a two input terminal OR gate 134 and the output signal from the OR gate 134 (waveform J of FIG. 7) is provided at an output terminal 136.

With the circuit described above, two output signals (waveforms G and J of FIG. 7), selectively displaced in phase from the input signal (waveform A) are generated. It should be noted that these two output signals must be phase shifted from the input signal in a symmetrical manner, i. e., if the output signal at the output terminal 126 is shifted the output signal at the output terminal 136 must be shifted 270. Likewise, if the output signal at the output terminal 126 is shifted the output signal at the output terminal 136 must be shifted 235.

Independently phase shiftable output signals may be obtained by providing two potentiometers, two comparators, two multivibrators and an OR gate connected to the terminals 61 and 46 to form a second independent phase shifter. Additional independent phase shifters may be added in this manner if more than two selectively phase shiftable control signals are required. A suitable conventional driver amplifier may be provided between the output terminal 61 of the sample and hold circuit 48 and the potentiometers to prevent excessive loading of the sample and hold circuit 48.

Moreover, various combinations of the input signal and the output signals may be obtained by combining these signals through additional OR gates if such combinations are desired. For example, if a control function is to be effected in coincidence with the input signal and 90 later, the input signal and the signal at the output terminal 126 may be combined in a two input terminal OR gate (not shown).

ADVANTAGES AND SCOPE OF THE INVENTION It can be seen from the above described exemplary embodiments of the present invention that numerous advantages result therefrom. For example, the repetition frequency of a periodic input signal may be increased by any desired integral amount by adding evenly spaced pulses to the signal during the interpulse period thereof. The spacing between the pulses of the resultant signal remains substantially the same irrespective of changes in the frequency of the input signal.

Moreover, the circuit of the present invention may be easily added to existing equipment to increase the resolution of measurements obtained from condition responsive sensors by way of example.

The present invention also provides extremely versatile variable phase shifting capabilities. Once a particular phase displacement has been selected, the selected phase shift remains constant with respect to the input signal although the frequency of the input signal changes.

The present invention may thus be embodied in other specific forms without departing from the spirit or essential characteristics thereof. The presently disclosed embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein.

What is claimed is:

1. A system for monitoring the condition of fluid flowing through a conduit comprising:

a flowmeter means for providing first series of pulses having a repetition frequency related to the flow of the fluid through the conduit;

condition responsive transducer means for providing a second series of pulses having a repetition frequency related to a variable physical condition of the fluid flowing through the conduit;

means for providing a reference signal related in amplitude to the repetition frequency of at least one of the first and second series of pulses;

means for providing a comparing signal having an amplitude which varies at a predetermined rate for a period of time related in duration to the repetition frequency of said at least one of the series of pulses;

means for symmetrically adding at least one pulse intermediate adjacent pulses of said at least one of the series of pulses responsively to a comparison between said comparing signal and said reference signal; and,

means responsive to the first and second series of pulses as modified by said adding means for providing packets of pulses wherein the number of packets is related to flow and the number of pulses in each packet is related to the fluid condition.

2. The system of claim 1 wherein said reference signal and said comparing signal are generated responsively to the first series of pulses and wherein said added pulse is added between adjacent pulses in said first series of pulses.

3. The system of claim 1 wherein said reference signal and said comparing signal are generated responsively to the second series of pulses and wherein said added pulse is added between adjacent pulses in said second series of pulses.

4. The system of claim 1 wherein said means for providing said reference signal includes:

means for charging a capacitor at a predetermined rate for a period of time related to the duration of the period of the series of pulses to which said reference signal providing means is responsive; and,

means for storing the voltage on said capacitor at the end of said period of time.

5. The system of claim 4 wherein said means for providing said comparing signal includes means for charging and discharging said capacitor at said predetermined rate for said period of time.

6. The system of claim 1 wherein said reference signal providing means includes means for selecting a plurality of different percentages of the amplitude of said reference signal and wherein said adding means includes means for generating a signal when the amplitude of said comparing signal is substantially equal to each of said selected percentages.

7. A method of compensating a manifestation of fluid flow for a variable physical condition of the fluid comprising the steps of:

providing a first series of pulses having a pulse repetition rate related to the fluid flow;

providing a second series of pulses having a pulse repetition rate related to the variable physical condition of the fluid; providing a first reference signal responsively to every second pulse in the first series of pulses, the first reference signal being related in amplitude to the pulse repetition rate of the first series of pulses;

providing a second reference signal variable in amplitude at a substantially linear rate for periods of time related in duration to the pulse repetition rate of the first series of pulses;

comparing said second reference signal with at least one predetermined percentage of the first reference signal to provide an output pulse when the amplitudes of the compared signals are substantially equal;

combining the output pulses with the first series of pulses to thereby increase the pulse repetition rate of the first series of pulses; and,

providing packets of pulses related in number to the increased pulse repetition rate of the first series of pulses, the number of pulses in the packets being related to the pulse repetition rate of the second series of pulses.

8. The method of claim 7 wherein the first reference signal is provided by the steps of:

providing a signal variable in amplitude at a substantially linear rate from a time related to the occurrence of a pulse in the first series of pulses; and,

sampling the amplitude of the variable signal at a time related to the occurrence of the next succeeding pulse in the first series of pulses.

9. The method of claim 8 wherein the variable amplitude signal is provided by the application of a constant current to a capacitor.

UNITED STATES PATENT OFFICE CERTIFICATE OF CORRECTION PatentNo- 3.774.44n Dated November 27. 1973 Inventor) Edward W. Gass and Fred W. Paramore It is certified that error appears in the above-identified patent and that said Letters Patent are hereby corrected as shown below:

In column 1, line 41, delete the word "the" and substitute therefor -and-- In column 7, line 7 the word "example" is misspelled.

In column 7, line 17, delete (lOO/N-Il)" and substitute therefor --l00- In column 7, equation I, delete the following equation:

"percent M (l/N l) (100)" and substitute therefor the following equation:

In column 7, equation 2, delete the following equation:

"M (l/N l) (100) percent (1) (1/5) (100) 20 percent and substitute therefor the following equation:

1 l a-.. l (100) o (l) (100) 200 (2) FORM po'wso USCOMM-DC scan-Pas U.S. GOVERNMENT PRINTlNG OFFICE i969 O3G334 UNITED STATES PATENT OFFICE CERTIFICATE OF CORRECTION Patent No. 3,774 ,448 Dated November 27, 1973 PAGE 2 Edward W, Gass and Fred W- Paramore It is certified that error appears in the above-identified patent and that said Letters Patent are hereby corrected as shown below:

In column 7, equation 3, delete the following equation:

"M (l/N l) (100) percent (4) (l/S) (100) 80 percent" and substitute therefor the following equation:

M 6- (loo) 6 (4) {-3 (100) 80%- (3) In column 8, equation 5, delete the following equation:

"V V (M/N l) K T (M/N l) r R and substitute therefor the following equation:

1M M r VR (Ff 1) K 6+ 9 g (5) Signed and sealed this 20th day of August 197 (SEAL) Attest:

MCCOY M. GIBSON, JR. C. MARSHALL DANN Attesting Officer Commissioner of Patents FORM PO-1050 (10-69) USCOMM-DC scan-Poo Q [1.5. GOVERNMENT PRINTING OFFICE: '99 0-366334. 

1. A system for monitoring the condition of fluid flowing through a conduit comprising: a flowmeter means for providing first series of pulses having a repetition frequency related to the flow of the fluid through the conduit; condition responsive transducer means for providing a second series of pulses having a repetition frequency related to a variable physical condition of the fluid flowing through the conduit; means for providing a reference signal related in amplitude to the repetition frequency of at least one of the first and second series of pulses; means for providing a comparing signal having an amplitude which varies at a predetermined rate for a period of time related in duration to the repetition frequency of said at least one of the series of pulses; means for symmetrically adding at least one pulse intermediate adjacent pulses of said at least one of the series of pulses responsively to a comparison between said comparing signal and said reference signal; and, means responsive to the first and second series of pulses as modified bY said adding means for providing packets of pulses wherein the number of packets is related to flow and the number of pulses in each packet is related to the fluid condition.
 2. The system of claim 1 wherein said reference signal and said comparing signal are generated responsively to the first series of pulses and wherein said added pulse is added between adjacent pulses in said first series of pulses.
 3. The system of claim 1 wherein said reference signal and said comparing signal are generated responsively to the second series of pulses and wherein said added pulse is added between adjacent pulses in said second series of pulses.
 4. The system of claim 1 wherein said means for providing said reference signal includes: means for charging a capacitor at a predetermined rate for a period of time related to the duration of the period of the series of pulses to which said reference signal providing means is responsive; and, means for storing the voltage on said capacitor at the end of said period of time.
 5. The system of claim 4 wherein said means for providing said comparing signal includes means for charging and discharging said capacitor at said predetermined rate for said period of time.
 6. The system of claim 1 wherein said reference signal providing means includes means for selecting a plurality of different percentages of the amplitude of said reference signal and wherein said adding means includes means for generating a signal when the amplitude of said comparing signal is substantially equal to each of said selected percentages.
 7. A method of compensating a manifestation of fluid flow for a variable physical condition of the fluid comprising the steps of: providing a first series of pulses having a pulse repetition rate related to the fluid flow; providing a second series of pulses having a pulse repetition rate related to the variable physical condition of the fluid; providing a first reference signal responsively to every second pulse in the first series of pulses, the first reference signal being related in amplitude to the pulse repetition rate of the first series of pulses; providing a second reference signal variable in amplitude at a substantially linear rate for periods of time related in duration to the pulse repetition rate of the first series of pulses; comparing said second reference signal with at least one predetermined percentage of the first reference signal to provide an output pulse when the amplitudes of the compared signals are substantially equal; combining the output pulses with the first series of pulses to thereby increase the pulse repetition rate of the first series of pulses; and, providing packets of pulses related in number to the increased pulse repetition rate of the first series of pulses, the number of pulses in the packets being related to the pulse repetition rate of the second series of pulses.
 8. The method of claim 7 wherein the first reference signal is provided by the steps of: providing a signal variable in amplitude at a substantially linear rate from a time related to the occurrence of a pulse in the first series of pulses; and, sampling the amplitude of the variable signal at a time related to the occurrence of the next succeeding pulse in the first series of pulses.
 9. The method of claim 8 wherein the variable amplitude signal is provided by the application of a constant current to a capacitor. 